/**
 * 常见问题详情页面
 */
import {
  FAQList,
} from '/common/config';

Page({
  data: {
    title: '',
    content: '',
  },
  onLoad(query) {
    const { index } = query;
    if (FAQList[index]) {
      const { title, content } = FAQList[index];
      this.setData({ title, content });
    }
  },
});
